package com.baomidou.springmvc.model.system;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;

/**
 * 
 * @author hewei
 * @ClassName: Log
 * @Copyright beauty_tech
 * @date 2017年7月6日 下午3:42:15
 * @description
 */
public class Log extends Model<Log> implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@TableId(type = IdType.UUID)
	private String id;
	/**
	 * 姓名
	 */
	private String username;
	/**
	 * 操作时间
	 */
	private Long createtime;
	/**
	 * 事务描述
	 */
	private String describe;
	/**
	 * 类型(0:请求，1：异常)
	 */
	private Integer type;
	/**
	 * 请求方法
	 */
	private String method;
	/**
	 * 请求参数
	 */
	private String params;
	/**
	 * 异常代码
	 */
	private String exceptioncode;
	/**
	 * 异常信息
	 */
	private String exceptiondetail;
	/**
	 * IP
	 */
	private String ip;
	
	
	private String ipresion;
	
	//private String equipmentType;
	
	


/*	public String getEquipmentType() {
		return equipmentType;
	}

	public void setEquipmentType(String equipmentType) {
		this.equipmentType = equipmentType;
	}
*/
	
	
	public String getId() {
		return id;
	}

	public String getIpresion() {
		return ipresion;
	}

	public void setIpresion(String ipresion) {
		this.ipresion = ipresion;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Long getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Long createtime) {
		this.createtime = createtime;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public String getExceptioncode() {
		return exceptioncode;
	}

	public void setExceptioncode(String exceptioncode) {
		this.exceptioncode = exceptioncode;
	}

	public String getExceptiondetail() {
		return exceptiondetail;
	}

	public void setExceptiondetail(String exceptiondetail) {
		this.exceptiondetail = exceptiondetail;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
